home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #5
/
Amiga Plus CD - 2000 - No. 5.iso
/
Tools
/
Misc
/
InstallerNG
/
developer
/
gui
/
example
/
igui_Error.c
< prev
next >
Wrap
C/C++ Source or Header
|
1999-10-28
|
1KB
|
50 lines
#include "includes.h"
#include "installergui_data.h"
/********************************************************************
*
* DESCRIPTION
*
* if anywhere in te gui an error occures, then the gui has to
* store this error; using this function, the installer asks
* the gui, if an error occured
*
* IN: application - pointer to the private application structure
* OUT: GUIERROR_NOERROR, if no error happened, otherwise an
* special error-code (see gui.h)
*/
/********************************************************************
*
* STATIC
*
*/
/********************************************************************
*
* EXTERN
*
*/
/********************************************************************
*
* PUBLIC
*
*/
/********************************************************************
*
* CODE
*
*/
long __asm igui_Error(register __a0 APTR application)
{
#ifdef DEBUG
DEBUG_MAKRO
#endif
return (((struct Application *) application)->app_Error);
}